package taskGenerator;

import util.IniParameters;

public class MorningPeak implements Behavior {

	@Override
	public NewComingTask generateNewComingTask() {
		int floorAt = 0;
		int floorTo;
		do {
			floorTo = (int) Math.floor(Math.random()
					* IniParameters.numberOfFloors);
		} while (floorAt == floorTo);

		return new NewComingTask(floorAt, floorTo);
	}

}
